
<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>文章详情</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <{include file="article/public/client_header"/}>
    <style>
        .content-wrap {
            width: 100%;
            float: left;
            min-height: 1000px;
            background: white;
        }
        .bs-btn{
            padding: 10px;
            border-radius: 3px;
            font-weight: 300;
        }
        .bs-green{
            color: white;
            background: #4caf50;
        }
        .but-btn {
            margin-top: 20px;
        }
        .but-btn> a:hover {
            color: #fdfdfd;
            text-decoration: underline;
        }
        .content {
            position: relative;
            min-height: 500px;
             margin-right: unset !important;
            margin-bottom: 15px;
        }
        .container {
            position: relative;
            margin: 0 auto;
            max-width: 100%;
            padding: 0;
        }
        .desc {
            color: #595265;
            text-align: left;
            text-indent: 2em;
            font-size: 15px;

            padding: 10px;
        }
    </style>
</head>
<body class="user-select single">
<!--<header class="header">
    <{include file="article/public/client_nav"/}>
</header>-->
<section class="container">
    <div class="content-wrap">
        <div class="content">
            <header class="article-header">
                <h1 class="article-title">
                    <a href="<{:url(null,['apath'=>$data.aid])}>" title="<{$data.title}>" ><{$data.title}></a>
                </h1>
                <div class="article-meta">
                    <span class="item article-meta-time">
	  <time class="time" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="发表时间：<{$data.add_time|date='Y-m-d',###}>">
          <i class="glyphicon glyphicon-time"></i><{$data.add_time|date='Y-m-d',###}></time>
	  </span> <span class="item article-meta-source" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="来源：{$data.author}">
                    <i class="glyphicon glyphicon-globe"></i>
                     <a href="<{:url('/plugin/article.client/index',['author'=>$data.author])}>" title=" <{$data.author}>" > <{$data.author}></a>

                </span>

                    <span class="item article-meta-category" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="">

                    </span> <span class="item article-meta-views" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="浏览量：<{$data.count_view}>"><i class="glyphicon glyphicon-eye-open"></i> <{$data.count_view}></span>
                </div>
            </header>
            <article class="article-content">
                <div class="desc">摘要：<{$data.desc}></div>
                <{$data.content}>
            </article>
            <div class="article-tags">标签：
                <a href="<{:url('/plugin/article.client/index',['cid'=>$data.category_id])}>" rel="tag" ><{$data.category_name}></a>
            </div>
            <div class="relates">

                <{if !empty($recommend)}>
                <div class="title">
                    <h3>相关推荐</h3>
                </div>
                <ul>
                    <{foreach $recommend as $item}>
                    <li>
                        <a href="<{:url('/plugin/article.client/detail',['apath'=>$item.aid])}>" title="<{$item.title}>" ><{$item.title}></a>
                    </li>
                    <{/foreach}>

                </ul>

                <{/if}>

            </div>

        </div>
    </div>

</section>
<footer class="footer">
    <div class="container">
        <p>Copyright &copy; 2022 wei1.top All rights reserved.<a target="_blank" href="http://blog.alipay168.cn">&copy;杂草猿工记</a></p>
        <div class="siteInfo text-center">
            <div class="siteInfo" ><a href="https://beian.miit.gov.cn/" target="b_link">桂ICP备16004757号-3</a></div>

            <div class="siteInfo" ><img src="http://www.gazxfz.gov.cn/content/images/ba.png" alt="" /><a href="https://www.beian.gov.cn/portal/registerSystemInfo?recordcode=45042102000009" rel="nofllow">桂公网安备 45042102000009号</a></div>
        </div>
    </div>
    <div id="gotop"><a class="gotop"></a></div>
</footer>
<script src="/static/plugins/article/js/bootstrap.min.jss"></script>
<!--<script src="/static/plugins/article/js/jquery.ias.js"></script>
<script src="/static/plugins/article/js/scripts.js"></script>-->




<script src="https://res2.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
<{if !empty($jsApiConfig)}>
<script>
    wx.config({
        debug: false,
        appId: '<{{$jsApiConfig.appid}}>', // 必填，公众号的唯一标识
        timestamp: '<{{$jsApiConfig.timestamp}}>', // 必填，生成签名的时间戳
        nonceStr: '<{{$jsApiConfig.noncestr}}>', // 必填，生成签名的随机串
        signature: '<{{$jsApiConfig.signature}}>',// 必填，签名
        jsApiList: [
            'updateTimelineShareData',
            'updateAppMessageShareData'
        ] // 必填，需要使用的JS接口列表
    });
    wx.ready(function () {      //需在用户可能点击分享按钮前就先调用
        wx.updateTimelineShareData({
            title: '<{{$data.title}}>', // 分享标题
            link: '<{{$jsApiConfig.link}}>', // 分享链接，该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
            imgUrl: 'http://wx.wei1.top/static/blog/images/wei.png', // 分享图标
            success: function (res) {
                // 设置成功
                console.log('success',res)
            }
        });
        wx.updateAppMessageShareData({
            title: '<{{$data.title}}>', // 分享标题
            desc: '<{{$data.title}}>', // 分享描述
            link: '<{{$jsApiConfig.link}}>', // 分享链接，该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
            imgUrl: 'http://wx.wei1.top/static/blog/images/wei.png', // 分享图标
            success: function (res) {
                // 设置成功
                console.log('success',res)
            }
        })
    });
    wx.error(function(res){
        // config信息验证失败会执行error函数，如签名过期导致验证失败，具体错误信息可以打开config的debug模式查看，也可以在返回的res参数中查看，对于SPA可以在这里更新签名。
        console.log(res)
    });
</script>
<{/if}>
<script>
    function pay(apath) {
        $.confirm('知识付费不支持退款，确定购买支持阅读全文吗？',function () {
            bs_request("<{:url('buy')}>",{apath:apath},function (res) {
                $.toast(res.msg,res.code==0?'ok':'cancel',function () {
                    if (res.code==0){
                        location.href = res.data.url
                    }
                })
            })
        })

    }
</script>
</body>
</html>
